package account

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/account/v1"
)

func (c *ControllerV1) AccountMenus(ctx context.Context, req *v1.AccountMenusReq) (res *v1.AccountMenusRes, err error) {
	res = &v1.AccountMenusRes{}
	res.SysMenuOutput, err = service.Account().SysMenus(ctx)
	return
}
